from .auth import auth_bp
from .chat import chat_bp
from .admin import admin_bp

def register_routes(app):
    """注册所有API蓝图"""
    app.register_blueprint(auth_bp, url_prefix='/api/auth')
    app.register_blueprint(chat_bp, url_prefix='/api/chat')
    app.register_blueprint(admin_bp, url_prefix='/api/admin')
